home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Tools⁄Additions / MacUserProj / MacUser Projects / June / 2GenApp Hdr / WindowUtilPr.h < prev   
Encoding:
C/C++ Source or Header  |  1990-04-24  |  1.5 KB  |  51 lines  |  [TEXT/KAHL]

  1. /* *****************************************************************************
  2.     FILE:             WindowUtilPr.h
  3.     
  4.     DESCRIPTION:     Window utility prototypes
  5.  
  6.     AUTHOR:            Kurt W.G. Matthies
  7.         
  8.     Copyright © 1990 by Code of the West, Inc., All Rights Reserved.
  9.     
  10.     Revision History:
  11.     ==========================================================
  12.     4.24.90    -    June 1990 MacUser Release - multiple windows3
  13.     3.30.90 -     May 1990 MacUser Release    
  14.     ==========================================================
  15.  
  16.    ***************************************************************************** */
  17.  
  18. #ifndef _WindowUtilPr_
  19. #define _WindowUtilPr_
  20.  
  21. #if V2
  22. #include <ControlMgr.h>
  23. #endif
  24.  
  25. #include "AppTypes.h"
  26.  
  27. #define kPage    1
  28. #define    kLine    2
  29.  
  30. void        centerWindow        ( WindowPtr );
  31. Rect *        getWinRect             ( WindowPtr, Rect * );
  32. Rect *        calcNewWinRect        ( WindowPtr, Rect * );
  33.  
  34. Rect *        hScrollBarRect        ( WindowPtr, Rect * );
  35. Rect *        vScrollBarRect        ( WindowPtr, Rect * );
  36. void        invalScrollBars        ( WindowPtr, Boolean );
  37. void        drawScrollBars         ( DocPtr, Boolean );
  38.  
  39.  
  40. void        doGrowWindow        ( WindowPtr, Point );
  41. void         mouseScroll         ( WindowPtr, ControlHandle, short, Point );
  42. void        doZoomBox            ( WindowPtr, short );
  43. void        clickZoomWindow        ( WindowPtr );
  44.  
  45. Rect *        makeFrameRect        ( WindowPtr, Rect * );
  46. void        setFrameClip        ( WindowPtr, Rect * );
  47.  
  48. #endif
  49. /* ===============================  EOF  =======================================
  50.     Copyright © 1990 by Code of the West, Inc. All Rights Reserved.
  51. ================================================================================ */